import { createRouter, createWebHashHistory } from 'vue-router';
import Home from '../views/Home.vue';
import Demo from '../views/show/showChart/index.vue';
import Template from '../views/template/template-box.vue';
// import Template from '../views/template/template1.vue';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home,
    },
    {
        path: '/demo',
        name: 'Demo',
        component: Demo,
    },
    {
        path: '/template',
        name: 'Template',
        component: Template,
    },
];

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});

export default router;
